#include<stdio.h>
#include<stdlib.h>
int main()
{
    const double RENT=3852.888;
    printf("*%4.2f*\n",RENT);
    printf("*%11.4f*\n",RENT);

    printf("*%+10d*%+10.2f*    %+10s*\n",56,-809.56,"American");
    printf("*%010d*%-10.2f*%+10s*\n",56,-809.56,"American");

    printf("**%d**%   d**% d**\n",42,42,-42);
    printf("**%7.4d**%5.3d**%05.3d**\n",6,6,6,6);
    
    return 0;
}